
export const formData = [
  {
    elType: "selectTree",
    id: "organisedUnitId",
    label: "主办单位",
    attrs: {
      value: "",
      clearable: true,
      "collapse-tags": true
    },
    options: {
      attrs: {
        value: ""
      }
    },
    treeData: {
      attrs: {
        data: []
      },
      props: {
        children: "children",
        label: "orgName",
        value: "id"
      }
    }
  },
  {
    elType: "input",
    id: "trainingProjectName",
    label: "培训项目",
    attrs: {
      size: "small",
      value: ""
    }
  },
  {
    elType: "select",
    id: "associatedTrainingId",
    label: "关联年计划",
    attrs: {
      value: "",
      clearable: true,
      filterable: true,
      "collapse-tags": true
    },
    options: []
  },
  {
    elType: "input",
    id: "trainingContent",
    label: "培训内容",
    attrs: {
      value: "",
      clearable: true,
      filterable: true,
      "collapse-tags": true
    }
  },
  {
    elType: "input",
    id: "trainingTarget",
    label: "培训对象",
    attrs: {
      value: "",
      clearable: true,
      filterable: true,
      disabled: false,
      multiple: false,
      "collapse-tags": true
    }
  },
  {
    elType: "select",
    id: "stauts",
    label: "状态",
    attrs: {
      value: "",
      clearable: true,
      filterable: true,
      "collapse-tags": true
    },
    options: [
      { label: "待编辑", value: "0" },
      { label: "编辑中", value: "1" },
      { label: "已完成", value: "2" },
      { label: "待审批", value: "3" },
      { label: "驳回", value: "6" },
      { label: "待上报", value: "4" },
      { label: "人员已上报", value: "38" }
    ]
  },
  {
    elType: "dateTimePicker",
    id: "planStartTime",
    label: "计划开始时间",
    attrs: {
      value: "",
      size: "small",
      clearable: true,
      type: "date",
      "value-format": "yyyy-MM-dd"
    }
  },
  {
    elType: "dateTimePicker",
    id: "planCompleteTime",
    label: "计划完成时间",
    attrs: {
      value: "",
      size: "small",
      clearable: true,
      type: "date",
      "value-format": "yyyy-MM-dd"
    }
  }
];

